// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store'
import AmazeVue from 'amaze-vue'
import 'amaze-vue/dist/amaze-vue.css'
import './assets/css/common.css'
import * as _ from 'lodash'
import * as moment from 'moment'
Vue.config.productionTip = true
Vue.use(AmazeVue)
Vue.filter('number',(value:any,len:number=2)=>{
    return Number(value).toFixed(2)
})
Vue.filter('date',(v:string,f:string)=>{
    return moment(v).format(f)
})
// Vue.component("Menu",Menu)
/* eslint-disable no-new */
const app = new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store
})
